home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 August / MW 8 2003 CD1.iso / Inside Macworld / Product News / gimp-1.2.4.sit / gimp-1.2.4 / devel-docs / libgimp / sgml / gimplayer.sgml < prev    next >
Encoding:
Text File  |  2003-05-20  |  42.9 KB  |  966 lines

  1. <refentry id="libgimp-gimplayer" revision="19 Jan 2001">
  2. <refmeta>
  3. <refentrytitle>gimplayer</refentrytitle>
  4. <manvolnum>3</manvolnum>
  5. <refmiscinfo>LIBGIMP Library</refmiscinfo>
  6. </refmeta>
  7.  
  8. <refnamediv>
  9. <refname>gimplayer</refname><refpurpose></refpurpose>
  10. </refnamediv>
  11.  
  12. <refsynopsisdiv><title>Synopsis</title>
  13. <synopsis>
  14.  
  15.  
  16.  
  17. <link linkend="gint32">gint32</link>      <link linkend="gimp-layer-new">gimp_layer_new</link>                  (<link linkend="gint32">gint32</link> image_ID,
  18.                                              <link linkend="gchar">gchar</link> *name,
  19.                                              <link linkend="gint">gint</link> width,
  20.                                              <link linkend="gint">gint</link> height,
  21.                                              <link linkend="GimpImageType">GimpImageType</link> type,
  22.                                              <link linkend="gdouble">gdouble</link> opacity,
  23.                                              <link linkend="GimpLayerModeEffects">GimpLayerModeEffects</link> mode);
  24. <link linkend="gint32">gint32</link>      <link linkend="gimp-layer-copy">gimp_layer_copy</link>                 (<link linkend="gint32">gint32</link> layer_ID);
  25. <link linkend="gint32">gint32</link>      <link linkend="gimp-layer-create-mask">gimp_layer_create_mask</link>          (<link linkend="gint32">gint32</link> layer_ID,
  26.                                              <link linkend="GimpAddMaskType">GimpAddMaskType</link> mask_type);
  27. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-scale">gimp_layer_scale</link>                (<link linkend="gint32">gint32</link> layer_ID,
  28.                                              <link linkend="gint">gint</link> new_width,
  29.                                              <link linkend="gint">gint</link> new_height,
  30.                                              <link linkend="gboolean">gboolean</link> local_origin);
  31. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-resize">gimp_layer_resize</link>               (<link linkend="gint32">gint32</link> layer_ID,
  32.                                              <link linkend="gint">gint</link> new_width,
  33.                                              <link linkend="gint">gint</link> new_height,
  34.                                              <link linkend="gint">gint</link> offx,
  35.                                              <link linkend="gint">gint</link> offy);
  36. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-delete">gimp_layer_delete</link>               (<link linkend="gint32">gint32</link> layer_ID);
  37. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-translate">gimp_layer_translate</link>            (<link linkend="gint32">gint32</link> layer_ID,
  38.                                              <link linkend="gint">gint</link> offx,
  39.                                              <link linkend="gint">gint</link> offy);
  40. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-add-alpha">gimp_layer_add_alpha</link>            (<link linkend="gint32">gint32</link> layer_ID);
  41. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-offsets">gimp_layer_set_offsets</link>          (<link linkend="gint32">gint32</link> layer_ID,
  42.                                              <link linkend="gint">gint</link> offx,
  43.                                              <link linkend="gint">gint</link> offy);
  44. <link linkend="gint32">gint32</link>      <link linkend="gimp-layer-mask">gimp_layer_mask</link>                 (<link linkend="gint32">gint32</link> layer_ID);
  45. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-is-floating-sel">gimp_layer_is_floating_sel</link>      (<link linkend="gint32">gint32</link> layer_ID);
  46. <link linkend="gchar">gchar</link>*      <link linkend="gimp-layer-get-name">gimp_layer_get_name</link>             (<link linkend="gint32">gint32</link> layer_ID);
  47. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-name">gimp_layer_set_name</link>             (<link linkend="gint32">gint32</link> layer_ID,
  48.                                              <link linkend="gchar">gchar</link> *name);
  49. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-get-visible">gimp_layer_get_visible</link>          (<link linkend="gint32">gint32</link> layer_ID);
  50. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-visible">gimp_layer_set_visible</link>          (<link linkend="gint32">gint32</link> layer_ID,
  51.                                              <link linkend="gboolean">gboolean</link> visible);
  52. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-get-preserve-trans">gimp_layer_get_preserve_trans</link>   (<link linkend="gint32">gint32</link> layer_ID);
  53. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-preserve-trans">gimp_layer_set_preserve_trans</link>   (<link linkend="gint32">gint32</link> layer_ID,
  54.                                              <link linkend="gboolean">gboolean</link> preserve_trans);
  55. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-get-apply-mask">gimp_layer_get_apply_mask</link>       (<link linkend="gint32">gint32</link> layer_ID);
  56. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-apply-mask">gimp_layer_set_apply_mask</link>       (<link linkend="gint32">gint32</link> layer_ID,
  57.                                              <link linkend="gboolean">gboolean</link> apply_mask);
  58. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-get-show-mask">gimp_layer_get_show_mask</link>        (<link linkend="gint32">gint32</link> layer_ID);
  59. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-show-mask">gimp_layer_set_show_mask</link>        (<link linkend="gint32">gint32</link> layer_ID,
  60.                                              <link linkend="gboolean">gboolean</link> show_mask);
  61. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-get-edit-mask">gimp_layer_get_edit_mask</link>        (<link linkend="gint32">gint32</link> layer_ID);
  62. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-edit-mask">gimp_layer_set_edit_mask</link>        (<link linkend="gint32">gint32</link> layer_ID,
  63.                                              <link linkend="gboolean">gboolean</link> edit_mask);
  64. <link linkend="gdouble">gdouble</link>     <link linkend="gimp-layer-get-opacity">gimp_layer_get_opacity</link>          (<link linkend="gint32">gint32</link> layer_ID);
  65. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-opacity">gimp_layer_set_opacity</link>          (<link linkend="gint32">gint32</link> layer_ID,
  66.                                              <link linkend="gdouble">gdouble</link> opacity);
  67. <link linkend="GimpLayerModeEffects">GimpLayerModeEffects</link> <link linkend="gimp-layer-get-mode">gimp_layer_get_mode</link>    (<link linkend="gint32">gint32</link> layer_ID);
  68. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-mode">gimp_layer_set_mode</link>             (<link linkend="gint32">gint32</link> layer_ID,
  69.                                              <link linkend="GimpLayerModeEffects">GimpLayerModeEffects</link> mode);
  70. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-get-linked">gimp_layer_get_linked</link>           (<link linkend="gint32">gint32</link> layer_ID);
  71. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-linked">gimp_layer_set_linked</link>           (<link linkend="gint32">gint32</link> layer_ID,
  72.                                              <link linkend="gboolean">gboolean</link> linked);
  73. <link linkend="gint">gint</link>        <link linkend="gimp-layer-get-tattoo">gimp_layer_get_tattoo</link>           (<link linkend="gint32">gint32</link> layer_ID);
  74. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-layer-set-tattoo">gimp_layer_set_tattoo</link>           (<link linkend="gint32">gint32</link> layer_ID,
  75.                                              <link linkend="gint">gint</link> tattoo);
  76. #define     <link linkend="gimp-layer-get-mask-id">gimp_layer_get_mask_id</link>
  77. #define     <link linkend="gimp-layer-get-image-id">gimp_layer_get_image_id</link>
  78. #define     <link linkend="gimp-layer-is-floating-selection">gimp_layer_is_floating_selection</link>
  79. #define     <link linkend="gimp-layer-get-preserve-transparency">gimp_layer_get_preserve_transparency</link>
  80. #define     <link linkend="gimp-layer-set-preserve-transparency">gimp_layer_set_preserve_transparency</link>
  81. </synopsis>
  82. </refsynopsisdiv>
  83.  
  84.  
  85.  
  86.  
  87.  
  88. <refsect1>
  89. <title>Description</title>
  90. <para>
  91.  
  92. </para>
  93. </refsect1>
  94.  
  95. <refsect1>
  96. <title>Details</title>
  97. <refsect2>
  98. <title><anchor id="gimp-layer-new">gimp_layer_new ()</title>
  99. <programlisting><link linkend="gint32">gint32</link>      gimp_layer_new                  (<link linkend="gint32">gint32</link> image_ID,
  100.                                              <link linkend="gchar">gchar</link> *name,
  101.                                              <link linkend="gint">gint</link> width,
  102.                                              <link linkend="gint">gint</link> height,
  103.                                              <link linkend="GimpImageType">GimpImageType</link> type,
  104.                                              <link linkend="gdouble">gdouble</link> opacity,
  105.                                              <link linkend="GimpLayerModeEffects">GimpLayerModeEffects</link> mode);</programlisting>
  106. <para>
  107. Create a new layer.
  108. </para>
  109. <para>
  110. This procedure creates a new layer with the specified width, height,
  111. and type. Name, opacity, and mode are also supplied parameters. The
  112. new layer still needs to be added to the image, as this is not
  113. automatic. Add the new layer with the 'gimp_image_add_layer'
  114. command. Other attributes such as layer mask modes, and offsets
  115. should be set with explicit procedure calls.</para>
  116. <para>
  117.  
  118. </para><informaltable pgwide=1 frame="none" role="params">
  119. <tgroup cols="2">
  120. <colspec colwidth="2*">
  121. <colspec colwidth="8*">
  122. <tbody>
  123. <row><entry align="right"><parameter>image_ID</parameter> :</entry>
  124. <entry> The image to which to add the layer.
  125. </entry></row>
  126. <row><entry align="right"><parameter>name</parameter> :</entry>
  127. <entry> The layer name.
  128. </entry></row>
  129. <row><entry align="right"><parameter>width</parameter> :</entry>
  130. <entry> The layer width.
  131. </entry></row>
  132. <row><entry align="right"><parameter>height</parameter> :</entry>
  133. <entry> The layer height.
  134. </entry></row>
  135. <row><entry align="right"><parameter>type</parameter> :</entry>
  136. <entry> The layer type.
  137. </entry></row>
  138. <row><entry align="right"><parameter>opacity</parameter> :</entry>
  139. <entry> The layer opacity.
  140. </entry></row>
  141. <row><entry align="right"><parameter>mode</parameter> :</entry>
  142. <entry> The layer combination mode.
  143. </entry></row>
  144. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The newly created layer.
  145. </entry></row>
  146. </tbody></tgroup></informaltable></refsect2>
  147. <refsect2>
  148. <title><anchor id="gimp-layer-copy">gimp_layer_copy ()</title>
  149. <programlisting><link linkend="gint32">gint32</link>      gimp_layer_copy                 (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  150. <para>
  151. Copy a layer.
  152. </para>
  153. <para>
  154. This procedure copies the specified layer and returns the copy. The
  155. newly copied layer is for use within the original layer's image. It
  156. should not be subsequently added to any other image. If you create
  157. a copy of the background layer, remember to add an alpha channel
  158. before you add the new layer to the image.</para>
  159. <para>
  160.  
  161. </para><informaltable pgwide=1 frame="none" role="params">
  162. <tgroup cols="2">
  163. <colspec colwidth="2*">
  164. <colspec colwidth="8*">
  165. <tbody>
  166. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  167. <entry> The layer to copy.
  168. </entry></row>
  169. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The newly copied layer.
  170. </entry></row>
  171. </tbody></tgroup></informaltable></refsect2>
  172. <refsect2>
  173. <title><anchor id="gimp-layer-create-mask">gimp_layer_create_mask ()</title>
  174. <programlisting><link linkend="gint32">gint32</link>      gimp_layer_create_mask          (<link linkend="gint32">gint32</link> layer_ID,
  175.                                              <link linkend="GimpAddMaskType">GimpAddMaskType</link> mask_type);</programlisting>
  176. <para>
  177. Create a layer mask for the specified specified layer.
  178. </para>
  179. <para>
  180. This procedure creates a layer mask for the specified layer. Layer
  181. masks serve as an additional alpha channel for a layer. Three
  182. different types of masks are allowed initially: completely white
  183. masks (which will leave the layer fully visible), completely black
  184. masks (which will give the layer complete transparency, and the
  185. layer's already existing alpha channel (which will leave the layer
  186. fully visible, but which may be more useful than a white mask). The
  187. layer mask still needs to be added to the layer. This can be done
  188. with a call to 'gimage_add_layer_mask'.</para>
  189. <para>
  190.  
  191. </para><informaltable pgwide=1 frame="none" role="params">
  192. <tgroup cols="2">
  193. <colspec colwidth="2*">
  194. <colspec colwidth="8*">
  195. <tbody>
  196. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  197. <entry> The layer to which to add the mask.
  198. </entry></row>
  199. <row><entry align="right"><parameter>mask_type</parameter> :</entry>
  200. <entry> The type of mask.
  201. </entry></row>
  202. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The newly created mask.
  203. </entry></row>
  204. </tbody></tgroup></informaltable></refsect2>
  205. <refsect2>
  206. <title><anchor id="gimp-layer-scale">gimp_layer_scale ()</title>
  207. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_scale                (<link linkend="gint32">gint32</link> layer_ID,
  208.                                              <link linkend="gint">gint</link> new_width,
  209.                                              <link linkend="gint">gint</link> new_height,
  210.                                              <link linkend="gboolean">gboolean</link> local_origin);</programlisting>
  211. <para>
  212. Scale the layer to the specified extents.
  213. </para>
  214. <para>
  215. This procedure scales the layer so that it's new width and height
  216. are equal to the supplied parameters. The \"local_origin\" parameter
  217. specifies whether to scale from the center of the layer, or from the
  218. image origin. This operation only works if the layer has been added
  219. to an image.</para>
  220. <para>
  221.  
  222. </para><informaltable pgwide=1 frame="none" role="params">
  223. <tgroup cols="2">
  224. <colspec colwidth="2*">
  225. <colspec colwidth="8*">
  226. <tbody>
  227. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  228. <entry> The layer.
  229. </entry></row>
  230. <row><entry align="right"><parameter>new_width</parameter> :</entry>
  231. <entry> New layer width.
  232. </entry></row>
  233. <row><entry align="right"><parameter>new_height</parameter> :</entry>
  234. <entry> New layer height.
  235. </entry></row>
  236. <row><entry align="right"><parameter>local_origin</parameter> :</entry>
  237. <entry> Use a local origin (as opposed to the image origin).
  238. </entry></row>
  239. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  240. </entry></row>
  241. </tbody></tgroup></informaltable></refsect2>
  242. <refsect2>
  243. <title><anchor id="gimp-layer-resize">gimp_layer_resize ()</title>
  244. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_resize               (<link linkend="gint32">gint32</link> layer_ID,
  245.                                              <link linkend="gint">gint</link> new_width,
  246.                                              <link linkend="gint">gint</link> new_height,
  247.                                              <link linkend="gint">gint</link> offx,
  248.                                              <link linkend="gint">gint</link> offy);</programlisting>
  249. <para>
  250. Resize the layer to the specified extents.
  251. </para>
  252. <para>
  253. This procedure resizes the layer so that it's new width and height
  254. are equal to the supplied parameters. Offsets are also provided
  255. which describe the position of the previous layer's content. This
  256. operation only works if the layer has been added to an image.</para>
  257. <para>
  258.  
  259. </para><informaltable pgwide=1 frame="none" role="params">
  260. <tgroup cols="2">
  261. <colspec colwidth="2*">
  262. <colspec colwidth="8*">
  263. <tbody>
  264. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  265. <entry> The layer.
  266. </entry></row>
  267. <row><entry align="right"><parameter>new_width</parameter> :</entry>
  268. <entry> New layer width.
  269. </entry></row>
  270. <row><entry align="right"><parameter>new_height</parameter> :</entry>
  271. <entry> New layer height.
  272. </entry></row>
  273. <row><entry align="right"><parameter>offx</parameter> :</entry>
  274. <entry> x offset between upper left corner of old and new layers: (new - old).
  275. </entry></row>
  276. <row><entry align="right"><parameter>offy</parameter> :</entry>
  277. <entry> y offset between upper left corner of old and new layers: (new - old).
  278. </entry></row>
  279. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  280. </entry></row>
  281. </tbody></tgroup></informaltable></refsect2>
  282. <refsect2>
  283. <title><anchor id="gimp-layer-delete">gimp_layer_delete ()</title>
  284. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_delete               (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  285. <para>
  286. Delete a layer.
  287. </para>
  288. <para>
  289. This procedure deletes the specified layer. This must not be done if
  290. the gimage containing this layer was already deleted or if the layer
  291. was already removed from the image. The only case in which this
  292. procedure is useful is if you want to get rid of a layer which has
  293. not yet been added to an image.</para>
  294. <para>
  295.  
  296. </para><informaltable pgwide=1 frame="none" role="params">
  297. <tgroup cols="2">
  298. <colspec colwidth="2*">
  299. <colspec colwidth="8*">
  300. <tbody>
  301. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  302. <entry> The layer to delete.
  303. </entry></row>
  304. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  305. </entry></row>
  306. </tbody></tgroup></informaltable></refsect2>
  307. <refsect2>
  308. <title><anchor id="gimp-layer-translate">gimp_layer_translate ()</title>
  309. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_translate            (<link linkend="gint32">gint32</link> layer_ID,
  310.                                              <link linkend="gint">gint</link> offx,
  311.                                              <link linkend="gint">gint</link> offy);</programlisting>
  312. <para>
  313. Translate the layer by the specified offsets.
  314. </para>
  315. <para>
  316. This procedure translates the layer by the amounts specified in the
  317. x and y arguments. These can be negative, and are considered offsets
  318. from the current position. This command only works if the layer has
  319. been added to an image. All additional layers contained in the image
  320. which have the linked flag set to TRUE w ill also be translated by
  321. the specified offsets.</para>
  322. <para>
  323.  
  324. </para><informaltable pgwide=1 frame="none" role="params">
  325. <tgroup cols="2">
  326. <colspec colwidth="2*">
  327. <colspec colwidth="8*">
  328. <tbody>
  329. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  330. <entry> The layer.
  331. </entry></row>
  332. <row><entry align="right"><parameter>offx</parameter> :</entry>
  333. <entry> Offset in x direction.
  334. </entry></row>
  335. <row><entry align="right"><parameter>offy</parameter> :</entry>
  336. <entry> Offset in y direction.
  337. </entry></row>
  338. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  339. </entry></row>
  340. </tbody></tgroup></informaltable></refsect2>
  341. <refsect2>
  342. <title><anchor id="gimp-layer-add-alpha">gimp_layer_add_alpha ()</title>
  343. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_add_alpha            (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  344. <para>
  345. Add an alpha channel to the layer if it doesn't already have one.
  346. </para>
  347. <para>
  348. This procedure adds an additional component to the specified layer
  349. if it does not already possess an alpha channel. An alpha channel
  350. makes it possible to move a layer from the bottom of the layer stack
  351. and to clear and erase to transparency, instead of the background
  352. color. This transforms images of type RGB to RGBA, GRAY to GRAYA,
  353. and INDEXED to INDEXEDA.</para>
  354. <para>
  355.  
  356. </para><informaltable pgwide=1 frame="none" role="params">
  357. <tgroup cols="2">
  358. <colspec colwidth="2*">
  359. <colspec colwidth="8*">
  360. <tbody>
  361. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  362. <entry> The layer.
  363. </entry></row>
  364. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  365. </entry></row>
  366. </tbody></tgroup></informaltable></refsect2>
  367. <refsect2>
  368. <title><anchor id="gimp-layer-set-offsets">gimp_layer_set_offsets ()</title>
  369. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_offsets          (<link linkend="gint32">gint32</link> layer_ID,
  370.                                              <link linkend="gint">gint</link> offx,
  371.                                              <link linkend="gint">gint</link> offy);</programlisting>
  372. <para>
  373. Set the layer offsets.
  374. </para>
  375. <para>
  376. This procedure sets the offsets for the specified layer. The offsets
  377. are relative to the image origin and can be any values. This
  378. operation is valid only on layers which have been added to an image.</para>
  379. <para>
  380.  
  381. </para><informaltable pgwide=1 frame="none" role="params">
  382. <tgroup cols="2">
  383. <colspec colwidth="2*">
  384. <colspec colwidth="8*">
  385. <tbody>
  386. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  387. <entry> The layer.
  388. </entry></row>
  389. <row><entry align="right"><parameter>offx</parameter> :</entry>
  390. <entry> Offset in x direction.
  391. </entry></row>
  392. <row><entry align="right"><parameter>offy</parameter> :</entry>
  393. <entry> Offset in y direction.
  394. </entry></row>
  395. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  396. </entry></row>
  397. </tbody></tgroup></informaltable></refsect2>
  398. <refsect2>
  399. <title><anchor id="gimp-layer-mask">gimp_layer_mask ()</title>
  400. <programlisting><link linkend="gint32">gint32</link>      gimp_layer_mask                 (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  401. <para>
  402. Get the specified layer's mask if it exists.
  403. </para>
  404. <para>
  405. This procedure returns the specified layer's mask, or -1 if none
  406. exists.</para>
  407. <para>
  408.  
  409. </para><informaltable pgwide=1 frame="none" role="params">
  410. <tgroup cols="2">
  411. <colspec colwidth="2*">
  412. <colspec colwidth="8*">
  413. <tbody>
  414. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  415. <entry> The layer.
  416. </entry></row>
  417. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer mask.
  418. </entry></row>
  419. </tbody></tgroup></informaltable></refsect2>
  420. <refsect2>
  421. <title><anchor id="gimp-layer-is-floating-sel">gimp_layer_is_floating_sel ()</title>
  422. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_is_floating_sel      (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  423. <para>
  424. Is the specified layer a floating selection?
  425. </para>
  426. <para>
  427. This procedure returns whether the layer is a floating selection.
  428. Floating selections are special cases of layers which are attached
  429. to a specific drawable.</para>
  430. <para>
  431.  
  432. </para><informaltable pgwide=1 frame="none" role="params">
  433. <tgroup cols="2">
  434. <colspec colwidth="2*">
  435. <colspec colwidth="8*">
  436. <tbody>
  437. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  438. <entry> The layer.
  439. </entry></row>
  440. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> Non-zero if the layer is a floating selection.
  441. </entry></row>
  442. </tbody></tgroup></informaltable></refsect2>
  443. <refsect2>
  444. <title><anchor id="gimp-layer-get-name">gimp_layer_get_name ()</title>
  445. <programlisting><link linkend="gchar">gchar</link>*      gimp_layer_get_name             (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  446. <para>
  447. Get the name of the specified layer.
  448. </para>
  449. <para>
  450. This procedure returns the specified layer's name.</para>
  451. <para>
  452.  
  453. </para><informaltable pgwide=1 frame="none" role="params">
  454. <tgroup cols="2">
  455. <colspec colwidth="2*">
  456. <colspec colwidth="8*">
  457. <tbody>
  458. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  459. <entry> The layer.
  460. </entry></row>
  461. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer name.
  462. </entry></row>
  463. </tbody></tgroup></informaltable></refsect2>
  464. <refsect2>
  465. <title><anchor id="gimp-layer-set-name">gimp_layer_set_name ()</title>
  466. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_name             (<link linkend="gint32">gint32</link> layer_ID,
  467.                                              <link linkend="gchar">gchar</link> *name);</programlisting>
  468. <para>
  469. Set the name of the specified layer.
  470. </para>
  471. <para>
  472. This procedure sets the specified layer's name.</para>
  473. <para>
  474.  
  475. </para><informaltable pgwide=1 frame="none" role="params">
  476. <tgroup cols="2">
  477. <colspec colwidth="2*">
  478. <colspec colwidth="8*">
  479. <tbody>
  480. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  481. <entry> The layer.
  482. </entry></row>
  483. <row><entry align="right"><parameter>name</parameter> :</entry>
  484. <entry> The new layer name.
  485. </entry></row>
  486. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  487. </entry></row>
  488. </tbody></tgroup></informaltable></refsect2>
  489. <refsect2>
  490. <title><anchor id="gimp-layer-get-visible">gimp_layer_get_visible ()</title>
  491. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_get_visible          (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  492. <para>
  493. Get the visibility of the specified layer.
  494. </para>
  495. <para>
  496. This procedure returns the specified layer's visibility.</para>
  497. <para>
  498.  
  499. </para><informaltable pgwide=1 frame="none" role="params">
  500. <tgroup cols="2">
  501. <colspec colwidth="2*">
  502. <colspec colwidth="8*">
  503. <tbody>
  504. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  505. <entry> The layer.
  506. </entry></row>
  507. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer visibility.
  508. </entry></row>
  509. </tbody></tgroup></informaltable></refsect2>
  510. <refsect2>
  511. <title><anchor id="gimp-layer-set-visible">gimp_layer_set_visible ()</title>
  512. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_visible          (<link linkend="gint32">gint32</link> layer_ID,
  513.                                              <link linkend="gboolean">gboolean</link> visible);</programlisting>
  514. <para>
  515. Set the visibility of the specified layer.
  516. </para>
  517. <para>
  518. This procedure sets the specified layer's visibility.</para>
  519. <para>
  520.  
  521. </para><informaltable pgwide=1 frame="none" role="params">
  522. <tgroup cols="2">
  523. <colspec colwidth="2*">
  524. <colspec colwidth="8*">
  525. <tbody>
  526. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  527. <entry> The layer.
  528. </entry></row>
  529. <row><entry align="right"><parameter>visible</parameter> :</entry>
  530. <entry> The new layer visibility.
  531. </entry></row>
  532. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  533. </entry></row>
  534. </tbody></tgroup></informaltable></refsect2>
  535. <refsect2>
  536. <title><anchor id="gimp-layer-get-preserve-trans">gimp_layer_get_preserve_trans ()</title>
  537. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_get_preserve_trans   (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  538. <para>
  539. Get the preserve transperancy setting of the specified layer.
  540. </para>
  541. <para>
  542. This procedure returns the specified layer's preserve transperancy
  543. setting.</para>
  544. <para>
  545.  
  546. </para><informaltable pgwide=1 frame="none" role="params">
  547. <tgroup cols="2">
  548. <colspec colwidth="2*">
  549. <colspec colwidth="8*">
  550. <tbody>
  551. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  552. <entry> The layer.
  553. </entry></row>
  554. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer's preserve transperancy setting.
  555. </entry></row>
  556. </tbody></tgroup></informaltable></refsect2>
  557. <refsect2>
  558. <title><anchor id="gimp-layer-set-preserve-trans">gimp_layer_set_preserve_trans ()</title>
  559. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_preserve_trans   (<link linkend="gint32">gint32</link> layer_ID,
  560.                                              <link linkend="gboolean">gboolean</link> preserve_trans);</programlisting>
  561. <para>
  562. Set the preserve transperancy setting of the specified layer.
  563. </para>
  564. <para>
  565. This procedure sets the specified layer's preserve transperancy
  566. setting.</para>
  567. <para>
  568.  
  569. </para><informaltable pgwide=1 frame="none" role="params">
  570. <tgroup cols="2">
  571. <colspec colwidth="2*">
  572. <colspec colwidth="8*">
  573. <tbody>
  574. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  575. <entry> The layer.
  576. </entry></row>
  577. <row><entry align="right"><parameter>preserve_trans</parameter> :</entry>
  578. <entry> The new layer's preserve transperancy setting.
  579. </entry></row>
  580. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  581. </entry></row>
  582. </tbody></tgroup></informaltable></refsect2>
  583. <refsect2>
  584. <title><anchor id="gimp-layer-get-apply-mask">gimp_layer_get_apply_mask ()</title>
  585. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_get_apply_mask       (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  586. <para>
  587. Get the apply mask setting of the specified layer.
  588. </para>
  589. <para>
  590. This procedure returns the specified layer's apply mask setting. If
  591. the value is non-zero, then the layer mask for this layer is
  592. currently being composited with the layer's alpha channel.</para>
  593. <para>
  594.  
  595. </para><informaltable pgwide=1 frame="none" role="params">
  596. <tgroup cols="2">
  597. <colspec colwidth="2*">
  598. <colspec colwidth="8*">
  599. <tbody>
  600. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  601. <entry> The layer.
  602. </entry></row>
  603. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer's apply mask setting.
  604. </entry></row>
  605. </tbody></tgroup></informaltable></refsect2>
  606. <refsect2>
  607. <title><anchor id="gimp-layer-set-apply-mask">gimp_layer_set_apply_mask ()</title>
  608. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_apply_mask       (<link linkend="gint32">gint32</link> layer_ID,
  609.                                              <link linkend="gboolean">gboolean</link> apply_mask);</programlisting>
  610. <para>
  611. Set the apply mask setting of the specified layer.
  612. </para>
  613. <para>
  614. This procedure sets the specified layer's apply mask setting. This
  615. controls whether the layer's mask is currently affecting the alpha
  616. channel. If there is no layer mask, this function will return an
  617. error.</para>
  618. <para>
  619.  
  620. </para><informaltable pgwide=1 frame="none" role="params">
  621. <tgroup cols="2">
  622. <colspec colwidth="2*">
  623. <colspec colwidth="8*">
  624. <tbody>
  625. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  626. <entry> The layer.
  627. </entry></row>
  628. <row><entry align="right"><parameter>apply_mask</parameter> :</entry>
  629. <entry> The new layer's apply mask setting.
  630. </entry></row>
  631. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  632. </entry></row>
  633. </tbody></tgroup></informaltable></refsect2>
  634. <refsect2>
  635. <title><anchor id="gimp-layer-get-show-mask">gimp_layer_get_show_mask ()</title>
  636. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_get_show_mask        (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  637. <para>
  638. Get the show mask setting of the specified layer.
  639. </para>
  640. <para>
  641. This procedure returns the specified layer's show mask setting. If
  642. the value is non-zero, then the layer mask for this layer is
  643. currently being shown instead of the layer.</para>
  644. <para>
  645.  
  646. </para><informaltable pgwide=1 frame="none" role="params">
  647. <tgroup cols="2">
  648. <colspec colwidth="2*">
  649. <colspec colwidth="8*">
  650. <tbody>
  651. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  652. <entry> The layer.
  653. </entry></row>
  654. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer's show mask setting.
  655. </entry></row>
  656. </tbody></tgroup></informaltable></refsect2>
  657. <refsect2>
  658. <title><anchor id="gimp-layer-set-show-mask">gimp_layer_set_show_mask ()</title>
  659. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_show_mask        (<link linkend="gint32">gint32</link> layer_ID,
  660.                                              <link linkend="gboolean">gboolean</link> show_mask);</programlisting>
  661. <para>
  662. Set the show mask setting of the specified layer.
  663. </para>
  664. <para>
  665. This procedure sets the specified layer's show mask setting. This
  666. controls whether the layer or it's mask is visible. Non-zero values
  667. indicate that the mask should be visible. If the layer has no mask,
  668. then this function returns an error.</para>
  669. <para>
  670.  
  671. </para><informaltable pgwide=1 frame="none" role="params">
  672. <tgroup cols="2">
  673. <colspec colwidth="2*">
  674. <colspec colwidth="8*">
  675. <tbody>
  676. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  677. <entry> The layer.
  678. </entry></row>
  679. <row><entry align="right"><parameter>show_mask</parameter> :</entry>
  680. <entry> The new layer's show mask setting.
  681. </entry></row>
  682. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  683. </entry></row>
  684. </tbody></tgroup></informaltable></refsect2>
  685. <refsect2>
  686. <title><anchor id="gimp-layer-get-edit-mask">gimp_layer_get_edit_mask ()</title>
  687. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_get_edit_mask        (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  688. <para>
  689. Get the show mask setting of the specified layer.
  690. </para>
  691. <para>
  692. This procedure returns the specified layer's show mask setting. If
  693. the value is non-zero, then the layer mask for this layer is
  694. currently active, and not the layer.</para>
  695. <para>
  696.  
  697. </para><informaltable pgwide=1 frame="none" role="params">
  698. <tgroup cols="2">
  699. <colspec colwidth="2*">
  700. <colspec colwidth="8*">
  701. <tbody>
  702. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  703. <entry> The layer.
  704. </entry></row>
  705. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer's show mask setting.
  706. </entry></row>
  707. </tbody></tgroup></informaltable></refsect2>
  708. <refsect2>
  709. <title><anchor id="gimp-layer-set-edit-mask">gimp_layer_set_edit_mask ()</title>
  710. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_edit_mask        (<link linkend="gint32">gint32</link> layer_ID,
  711.                                              <link linkend="gboolean">gboolean</link> edit_mask);</programlisting>
  712. <para>
  713. Set the show mask setting of the specified layer.
  714. </para>
  715. <para>
  716. This procedure sets the specified layer's show mask setting. This
  717. controls whether the layer or it's mask is currently active for
  718. editing. If the specified layer has no layer mask, then this
  719. procedure will return an error.</para>
  720. <para>
  721.  
  722. </para><informaltable pgwide=1 frame="none" role="params">
  723. <tgroup cols="2">
  724. <colspec colwidth="2*">
  725. <colspec colwidth="8*">
  726. <tbody>
  727. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  728. <entry> The layer.
  729. </entry></row>
  730. <row><entry align="right"><parameter>edit_mask</parameter> :</entry>
  731. <entry> The new layer's show mask setting.
  732. </entry></row>
  733. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  734. </entry></row>
  735. </tbody></tgroup></informaltable></refsect2>
  736. <refsect2>
  737. <title><anchor id="gimp-layer-get-opacity">gimp_layer_get_opacity ()</title>
  738. <programlisting><link linkend="gdouble">gdouble</link>     gimp_layer_get_opacity          (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  739. <para>
  740. Get the opacity of the specified layer.
  741. </para>
  742. <para>
  743. This procedure returns the specified layer's opacity.</para>
  744. <para>
  745.  
  746. </para><informaltable pgwide=1 frame="none" role="params">
  747. <tgroup cols="2">
  748. <colspec colwidth="2*">
  749. <colspec colwidth="8*">
  750. <tbody>
  751. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  752. <entry> The layer.
  753. </entry></row>
  754. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer opacity.
  755. </entry></row>
  756. </tbody></tgroup></informaltable></refsect2>
  757. <refsect2>
  758. <title><anchor id="gimp-layer-set-opacity">gimp_layer_set_opacity ()</title>
  759. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_opacity          (<link linkend="gint32">gint32</link> layer_ID,
  760.                                              <link linkend="gdouble">gdouble</link> opacity);</programlisting>
  761. <para>
  762. Set the opacity of the specified layer.
  763. </para>
  764. <para>
  765. This procedure sets the specified layer's opacity.</para>
  766. <para>
  767.  
  768. </para><informaltable pgwide=1 frame="none" role="params">
  769. <tgroup cols="2">
  770. <colspec colwidth="2*">
  771. <colspec colwidth="8*">
  772. <tbody>
  773. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  774. <entry> The layer.
  775. </entry></row>
  776. <row><entry align="right"><parameter>opacity</parameter> :</entry>
  777. <entry> The new layer opacity.
  778. </entry></row>
  779. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  780. </entry></row>
  781. </tbody></tgroup></informaltable></refsect2>
  782. <refsect2>
  783. <title><anchor id="gimp-layer-get-mode">gimp_layer_get_mode ()</title>
  784. <programlisting><link linkend="GimpLayerModeEffects">GimpLayerModeEffects</link> gimp_layer_get_mode    (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  785. <para>
  786. Get the combination mode of the specified layer.
  787. </para>
  788. <para>
  789. This procedure returns the specified layer's combination mode.</para>
  790. <para>
  791.  
  792. </para><informaltable pgwide=1 frame="none" role="params">
  793. <tgroup cols="2">
  794. <colspec colwidth="2*">
  795. <colspec colwidth="8*">
  796. <tbody>
  797. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  798. <entry> The layer.
  799. </entry></row>
  800. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer combination mode.
  801. </entry></row>
  802. </tbody></tgroup></informaltable></refsect2>
  803. <refsect2>
  804. <title><anchor id="gimp-layer-set-mode">gimp_layer_set_mode ()</title>
  805. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_mode             (<link linkend="gint32">gint32</link> layer_ID,
  806.                                              <link linkend="GimpLayerModeEffects">GimpLayerModeEffects</link> mode);</programlisting>
  807. <para>
  808. Set the combination mode of the specified layer.
  809. </para>
  810. <para>
  811. This procedure sets the specified layer's combination mode.</para>
  812. <para>
  813.  
  814. </para><informaltable pgwide=1 frame="none" role="params">
  815. <tgroup cols="2">
  816. <colspec colwidth="2*">
  817. <colspec colwidth="8*">
  818. <tbody>
  819. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  820. <entry> The layer.
  821. </entry></row>
  822. <row><entry align="right"><parameter>mode</parameter> :</entry>
  823. <entry> The new layer combination mode.
  824. </entry></row>
  825. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  826. </entry></row>
  827. </tbody></tgroup></informaltable></refsect2>
  828. <refsect2>
  829. <title><anchor id="gimp-layer-get-linked">gimp_layer_get_linked ()</title>
  830. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_get_linked           (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  831. <para>
  832. Get the linked state of the specified layer.
  833. </para>
  834. <para>
  835. This procedure returns the specified layer's linked state.</para>
  836. <para>
  837.  
  838. </para><informaltable pgwide=1 frame="none" role="params">
  839. <tgroup cols="2">
  840. <colspec colwidth="2*">
  841. <colspec colwidth="8*">
  842. <tbody>
  843. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  844. <entry> The layer.
  845. </entry></row>
  846. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer linked state (for moves).
  847. </entry></row>
  848. </tbody></tgroup></informaltable></refsect2>
  849. <refsect2>
  850. <title><anchor id="gimp-layer-set-linked">gimp_layer_set_linked ()</title>
  851. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_linked           (<link linkend="gint32">gint32</link> layer_ID,
  852.                                              <link linkend="gboolean">gboolean</link> linked);</programlisting>
  853. <para>
  854. Set the linked state of the specified layer.
  855. </para>
  856. <para>
  857. This procedure sets the specified layer's linked state.</para>
  858. <para>
  859.  
  860. </para><informaltable pgwide=1 frame="none" role="params">
  861. <tgroup cols="2">
  862. <colspec colwidth="2*">
  863. <colspec colwidth="8*">
  864. <tbody>
  865. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  866. <entry> The layer.
  867. </entry></row>
  868. <row><entry align="right"><parameter>linked</parameter> :</entry>
  869. <entry> The new layer linked state.
  870. </entry></row>
  871. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  872. </entry></row>
  873. </tbody></tgroup></informaltable></refsect2>
  874. <refsect2>
  875. <title><anchor id="gimp-layer-get-tattoo">gimp_layer_get_tattoo ()</title>
  876. <programlisting><link linkend="gint">gint</link>        gimp_layer_get_tattoo           (<link linkend="gint32">gint32</link> layer_ID);</programlisting>
  877. <para>
  878. Get the tattoo of the specified layer.
  879. </para>
  880. <para>
  881. This procedure returns the specified layer's tattoo. A tattoo is a
  882. unique and permanent identifier attached to a layer that can be used
  883. to uniquely identify a layer within an image even between sessions</para>
  884. <para>
  885.  
  886. </para><informaltable pgwide=1 frame="none" role="params">
  887. <tgroup cols="2">
  888. <colspec colwidth="2*">
  889. <colspec colwidth="8*">
  890. <tbody>
  891. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  892. <entry> The layer.
  893. </entry></row>
  894. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The layer tattoo.
  895. </entry></row>
  896. </tbody></tgroup></informaltable></refsect2>
  897. <refsect2>
  898. <title><anchor id="gimp-layer-set-tattoo">gimp_layer_set_tattoo ()</title>
  899. <programlisting><link linkend="gboolean">gboolean</link>    gimp_layer_set_tattoo           (<link linkend="gint32">gint32</link> layer_ID,
  900.                                              <link linkend="gint">gint</link> tattoo);</programlisting>
  901. <para>
  902. Set the tattoo of the specified layer.
  903. </para>
  904. <para>
  905. This procedure sets the specified layer's tattoo. A tattoo is a
  906. unique and permanent identifier attached to a layer that can be used
  907. to uniquely identify a layer within an image even between sessions</para>
  908. <para>
  909.  
  910. </para><informaltable pgwide=1 frame="none" role="params">
  911. <tgroup cols="2">
  912. <colspec colwidth="2*">
  913. <colspec colwidth="8*">
  914. <tbody>
  915. <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
  916. <entry> The layer.
  917. </entry></row>
  918. <row><entry align="right"><parameter>tattoo</parameter> :</entry>
  919. <entry> The new layer tattoo.
  920. </entry></row>
  921. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  922. </entry></row>
  923. </tbody></tgroup></informaltable></refsect2>
  924. <refsect2>
  925. <title><anchor id="gimp-layer-get-mask-id">gimp_layer_get_mask_id</title>
  926. <programlisting>#define gimp_layer_get_mask_id               gimp_layer_mask
  927. </programlisting>
  928. <para>
  929.  
  930. </para></refsect2>
  931. <refsect2>
  932. <title><anchor id="gimp-layer-get-image-id">gimp_layer_get_image_id</title>
  933. <programlisting>#define gimp_layer_get_image_id              gimp_drawable_image
  934. </programlisting>
  935. <para>
  936.  
  937. </para></refsect2>
  938. <refsect2>
  939. <title><anchor id="gimp-layer-is-floating-selection">gimp_layer_is_floating_selection</title>
  940. <programlisting>#define gimp_layer_is_floating_selection     gimp_layer_is_floating_sel
  941. </programlisting>
  942. <para>
  943.  
  944. </para></refsect2>
  945. <refsect2>
  946. <title><anchor id="gimp-layer-get-preserve-transparency">gimp_layer_get_preserve_transparency</title>
  947. <programlisting>#define gimp_layer_get_preserve_transparency gimp_layer_get_preserve_trans
  948. </programlisting>
  949. <para>
  950.  
  951. </para></refsect2>
  952. <refsect2>
  953. <title><anchor id="gimp-layer-set-preserve-transparency">gimp_layer_set_preserve_transparency</title>
  954. <programlisting>#define gimp_layer_set_preserve_transparency gimp_layer_set_preserve_trans
  955. </programlisting>
  956. <para>
  957.  
  958. </para></refsect2>
  959.  
  960. </refsect1>
  961.  
  962.  
  963.  
  964.  
  965. </refentry>
  966.